/****************************************************************************
** Form implementation generated from reading ui file 'loguj_form.ui'
**
** Created: pon lut 6 23:15:32 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "loguj_form.h"

#include <qvariant.h>
#include <qlineedit.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

#include "../loguj_form.ui.h"
/*
 *  Constructs a Form1 as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
Form1::Form1( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "Form1" );

    leUser = new QLineEdit( this, "leUser" );
    leUser->setGeometry( QRect( 130, 20, 131, 31 ) );

    lePassword = new QLineEdit( this, "lePassword" );
    lePassword->setGeometry( QRect( 130, 70, 131, 31 ) );

    textLabel1 = new QLabel( this, "textLabel1" );
    textLabel1->setGeometry( QRect( 30, 10, 50, 41 ) );

    textLabel2 = new QLabel( this, "textLabel2" );
    textLabel2->setGeometry( QRect( 30, 70, 50, 21 ) );

    button_loguj = new QPushButton( this, "button_loguj" );
    button_loguj->setGeometry( QRect( 20, 110, 131, 31 ) );
    languageChange();
    resize( QSize(307, 163).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( button_loguj, SIGNAL( clicked() ), this, SLOT( loguj() ) );
    init();
}

/*
 *  Destroys the object and frees any allocated resources
 */
Form1::~Form1()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void Form1::languageChange()
{
    setCaption( tr( "Form1" ) );
    textLabel1->setText( tr( "Login" ) );
    textLabel2->setText( trUtf8( "\x48\x61\x73\xc5\x82\x6f" ) );
    button_loguj->setText( tr( "loguj" ) );
}

